﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Repository;
using MAPDavy.Entities;
using Microsoft.Practices.Unity;

namespace MAPDavy.BusinessLogic
{
    public class StudentBL:IStudentBL
    {
        [Dependency]
        public IStudentRepository StudentRepository { get; set; }

        public int AddStudent(Student student)
        {
            return StudentRepository.AddStudent(student); 
        }
    }
}
